<template>
  <div class="user-child-container">
    <el-button @click="backFn">返回</el-button>
    用户子页面---父页面传过来的参数---query:id--{{$route.query.id}}---params:name--{{$route.params.name}}
  </div>
</template>

<script>
export default {
  name: 'UserChild',
  methods: {
    backFn() {
      this.$router.back();
    }
  }
};
</script>

<style lang="scss" scoped>
</style>
